package com.dragon.modules.yuegou.excel.order;

import com.dragon.modules.media.annotations.ExcelSheet;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@com.dragon.modules.media.annotations.ExcelWorkbook(template = "classpath:\\excel\\order\\goods.xlsx")
public class GoodsWorkbook {
	@ExcelSheet
	@JsonProperty("商品核销记录表")
	private List<GoodsRow> goods;

	public static class GoodsRow {
		@JsonProperty("商品名称")
		private String skuTitle;

		@JsonProperty("商品类目")
		private String type;

		@JsonProperty("所属模块")
		private String showModule;

		@JsonProperty("核销时间")
		private LocalDateTime pickUpTime;

		@JsonProperty("昵称")
		private String nickName;

		@JsonProperty("手机")
		private String mobile;
		
		@JsonProperty("核销金额")
		private BigDecimal totalAmount;

		@JsonProperty("商户")
		private String merchantName;

		public String getSkuTitle() {
			return skuTitle;
		}

		public void setSkuTitle(String skuTitle) {
			this.skuTitle = skuTitle;
		}

		public String getType() {
			return type;
		}

		public void setType(String type) {
			this.type = type;
		}

		public String getShowModule() {
			return showModule;
		}

		public void setShowModule(String showModule) {
			this.showModule = showModule;
		}

		public LocalDateTime getPickUpTime() {
			return pickUpTime;
		}

		public void setPickUpTime(LocalDateTime pickUpTime) {
			this.pickUpTime = pickUpTime;
		}

		public String getNickName() {
			return nickName;
		}

		public void setNickName(String nickName) {
			this.nickName = nickName;
		}

		public String getMobile() {
			return mobile;
		}

		public void setMobile(String mobile) {
			this.mobile = mobile;
		}

		public String getMerchantName() {
			return merchantName;
		}

		public void setMerchantName(String merchantName) {
			this.merchantName = merchantName;
		}

		public BigDecimal getTotalAmount() {
			return totalAmount;
		}

		public void setTotalAmount(BigDecimal totalAmount) {
			this.totalAmount = totalAmount;
		}
	}

	public List<GoodsRow> getGoods() {
		return goods;
	}

	public void setGoods(List<GoodsRow> goods) {
		this.goods = goods;
	}
}
